var DataDocTech = { 
		0: "<td><img src='assets/images/iconeword.png'></td><td>FonctionJquery.doc</td><td><i>1,3 mo</i></td>", 
		1: "<td><img src='assets/images/iconeword.png'></td><td>JqueryDispatcher.doc</td><td><i>3 mo</i></td>", 
		2: "<td><img src='assets/images/iconepdf.png'></td><td>JqueryUI.pdf</td><td><i>3 mo</i></td>"
	};
	
var DataDocUti = { 
		0: "<td><img src='assets/images/iconeword.png'></td><td>DocumentationUtilisateur.doc</td><td><i>1,3 mo</i></td>", 
		1: "<td><img src='assets/images/iconeword.png'></td><td>DocumentationExpert.doc</td><td><i>3 mo</i></td>", 
		2: "<td><img src='assets/images/iconepdf.png'></td><td>Presentation.pdf</td><td><i>3 mo</i></td>"
	};
	
function getDocUti(){
	return DataDocUti;
}

function getDocTech(){
	return DataDocTech;
}
//var num = [1, 2, 3];


// var json = '{ "test": "10"}'; //json
// var obj = deserialize(json); //json => javascript
// obj.test; //javascript


////javascript
// var obj2 = {
	// test: 10
// };

// obj2.test;

var json = [
   { id : "1",
     src: "assets/images/iconeword.png",
     nom: "DocumentationDev.doc",
     taille: "13 mo",
	 lien: "server/doc/DocumentationDev.doc",
	 category: "docdev"
   },
   { id : "2",
	 src: "assets/images/iconeword.png",
     nom: "DocumentationTechnique.doc",
     taille: "3 mo",
	 lien: "server/doc/DocumentationTechnique.doc",
	 category: "doctech"
   },
   { id : "3",
	 src: "assets/images/iconeword.png",
     nom: "DocumentationTechniqueBis.doc",
     taille: "3 mo",
	 lien: "server/doc/DocumentationTechniqueBis.doc",
	 category: "doctech"
   },
   { id : "4",
	src: "assets/images/iconepdf.png",
     nom: "PresentationUti.pdf",
     taille: "14 mo",
	 lien: "server/doc/PresentationUti.pdf",
	 category: "docuti"
   }
];

// var filter = $.grep(json, function(d, i){
	// return d.category == "docuti";
// };

// $.each(filter, function(d){
	
// });

